import request from '@/utils/request.js';

export const queryDataList = (data) => {
  const paramsMap = { ...data };
  delete paramsMap.cfgId;
  const params = {
    cfgId: data.cfgId,
    paramsMap: paramsMap
  };
  return request({
    url: '/comQuery/queryDataList',
    method: 'post',
    data: params
  });
};
